<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src='jquery源码分析.js'></script>
	<script>
		
		$(function(){
			// console.log($('div').toArray());//slice.call(this);的方法实现的
			var arr = [];
		// var box={0:'sj',1:'sj1',2:'sj2',length:3}
		 var div1=document.getElementsByTagName('div');
		 var box={};
		 // console.log(div1);
		
		 // arr.push.apply(box,div1);
		 // console.log(box);
		 // console.log(box.toString.call(box));
		});
	</script>
</head>
<body>
 <div></div>
 <div></div>
 <div></div>
 <div></div>
</body>
</html>